package com.atguigu.spzx.manner.service;

import com.atguigu.spzx.model.dto.LoginDto;
import com.atguigu.spzx.model.dto.SysUserDto;
import com.atguigu.spzx.model.entity.SysUser;
import com.atguigu.spzx.model.vo.LoginVo;
import com.github.pagehelper.PageInfo;
import org.springframework.stereotype.Service;


public interface SystemUserService {
    LoginVo login(LoginDto loginDto);

    SysUser getUserInfo(String token);

    PageInfo<SysUser> findByPage(Integer pageNum, Integer pageSize, SysUserDto sysUserDto);

    void updateSysRole(SysUser sysUser);

    void saveSysRole(SysUser sysUser);

    void deleteSysUserById(Long id);
}
